<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理中心</title>
<link rel="stylesheet" href="<?php echo $this->baseUrl;?>/files/admin/css/main.css" />
<script language="javascript" src="<?php echo $this->baseUrl;?>/files/admin/js/jquery.js"></script>
</head>

<body>
    <div id="main">
        <div id="navigation">当前位置：<a href="<?php echo $this->projectUrl(array('action'=>'index'));?>">商家列表</a> &gt; <span id="focus">编辑商家</span></div>
        <div id="body">
            <div id="edit">
                <form id="editForm" name="editForm" method="post" action="">
                    <table class="table">
                        <tr>
                            <td width="20%">商家编号：</td>
                            <td>
                            <input name="code" type="text" class="input" id="code" value="<?php echo $this->row['code'];?>" size="30" style="width:300px;"
                            <?php if( !empty( $this->row['id'] ) ) echo 'readonly';?>
                            ></td>
                        </tr>
                        <tr>
                            <td width="20%">商家全称：</td>
                            <td>
                            <input name="fullName" type="text" class="input" id="fullName" value="<?php echo $this->row['fullName'];?>" size="30" style="width:300px;"></td>
                        </tr>
                        <tr>
                            <td width="20%">商家简称：</td>
                            <td>
                            <input name="name" type="text" class="input" id="name" value="<?php echo $this->row['name'];?>" size="30" style="width:300px;"></td>
                        </tr>
                        <tr>
                        	<td>商家网站：</td>
                        	<td><input name="url" type="text" class="input" id="url" value="<?php echo $this->row['url'];?>" size="30" style="width:300px;" onfocus="if (this.value == '') {this.value='http://';}" onblur="if (this.value == 'http://') {this.value='';}"/></td>
                       	</tr>
                        <tr>
							<td>备注：</td>
                        	<td><textarea name="notes" cols="30" rows="5" class="input" id="notes" style="width:300px;"><?php echo htmlspecialchars($this->row['notes']);?></textarea></td>
                       	</tr>
                        <tr>
                            <td width="20%">&nbsp;</td>
                            <td>
                            <input type="submit" name="button" id="button" value="提交" class="button" /></td>
                        </tr>
                    </table>
                </form>
            </div>
        </div>
</div>
</body>
</html>